var mongoose = require('mongoose');
mongoose.connect('mongodb://localhost/test');

var student_Schema = mongoose.Schema({
    name1: String,
    number1: String,
    mark1: String,
    name2: String,
    number2: String,
    mark2: String,
    name3: String,
    number3: String,
    mark3: String,
    name4: String,
    number4: String,
    mark4: String,
    group: String,
    teacher: String
});

var student = mongoose.model('students', student_Schema);

module.exports = student;